package com.ruoyi.shop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品信息对象 product_info
 * 
 * @author cwc
 * @date 2024-12-13
 */
public class Product_Info extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long productId;

    /** 类别id */
    @Excel(name = "类别id")
    private Long categoryId;

    /** 名称 */
    @Excel(name = "名称")
    private String productName;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal productPrice;

    /** 库存量 */
    @Excel(name = "库存量")
    private Long productStock;

    /** 描述 */
    private String productDescription;

    /** 图片 */
    @Excel(name = "图片")
    private String productPictureUrl;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductStock(Long productStock) 
    {
        this.productStock = productStock;
    }

    public Long getProductStock() 
    {
        return productStock;
    }
    public void setProductDescription(String productDescription) 
    {
        this.productDescription = productDescription;
    }

    public String getProductDescription() 
    {
        return productDescription;
    }
    public void setProductPictureUrl(String productPictureUrl) 
    {
        this.productPictureUrl = productPictureUrl;
    }

    public String getProductPictureUrl() 
    {
        return productPictureUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("categoryId", getCategoryId())
            .append("productName", getProductName())
            .append("productPrice", getProductPrice())
            .append("productStock", getProductStock())
            .append("productDescription", getProductDescription())
            .append("productPictureUrl", getProductPictureUrl())
            .toString();
    }
}
